package com.spark.mapper;

import com.spark.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhouqichun
 * @version 1.0
 * @date 2021/8/6 - 08 - 06 - 15:54
 * @description diary com.spark.mapper
 */
public interface UserMapper {
    User getUserById(int id);
    User getLoginUser(@Param("username") String username, @Param("password") String password);
    int addUser(User user);
    int getUserCount();
    int updateUser(User user);
}
